You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > Copy Method > TMtxVecInt.Copy Method ([In] TMtxVecInt)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.Copy Method ([In] TMtxVecInt)

Copy object values.

Syntax
C#
Visual Basic
public TMtxVecInt Copy([In] TMtxVecInt Src);

Copy each of Vec elements to the calling object. The Size property of the calling object is set implicitly to match Vec object.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVecInt a,b,c; a = new TVecInt(); b = new TVecInt(); a.SetIt(new int[] {1,2,3,4}); // a = [1,2,3,4] i.e 1+2i ; 3+4i b.Copy(a); // b = [1,2,3,4] } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!